<!DOCTYPE html>
<meta charset="utf-8">
<title>Reference Case</title>

<link rel="stylesheet" href="/fonts/ahem.css">
<style>
textarea {
  font: 10px/1 Ahem;

  inline-size: 8em;
  block-size: 10em;

  padding-inline-start: 0;
  padding-inline-end: 0;
}
.rtl { direction: rtl; }
.vlr { writing-mode: vertical-lr; }
.vrl { writing-mode: vertical-rl; }
.slr { writing-mode: sideways-lr; }
.srl { writing-mode: sideways-rl; }
</style>

<textarea></textarea>
<textarea class="rtl"></textarea>
<br>
<textarea class="vlr"></textarea>
<textarea class="vrl"></textarea>
<textarea class="slr"></textarea>
<textarea class="srl"></textarea>
<br>
<textarea class="vlr rtl"></textarea>
<textarea class="vrl rtl"></textarea>
<textarea class="slr rtl"></textarea>
<textarea class="srl rtl"></textarea>
